@import '~antd/es/style/variable.less';

html,
body,
#root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

// Compatible with IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
  body .ant-design-pro > .ant-layout {
    min-height: 100vh;
  }
}

.ant-upload-list-item-image{
  //width: 33%;
  //max-height: 100px;
}

.flexContainer(@gap: 0px, @direction: row) {
  display: flex;
  flex-direction: @direction;
  justify-content: start;
  align-items: center;
  gap: @gap;
}
/*颜色*/
@text_color: #1a1a1a;
@secondary_color: #6d6a6a;
@wechatColor: #3FA72E;
@tip_text: #8d8d8d;
//@main_color: #db2231;
@main_color: #1890ff;
@green: #35c25c;
@success: #35c25c;
@error: #eb3b3b;
@warning: #FD8357;
@link: @main_color;
@not_allowed_color: #b1b1b1;
@line_color: rgba(0, 0, 0, 0.12);
@line_color_light: rgba(0, 0, 0, 0.06);
@gray_bg: #f6f8fa;
@dark_gray_bg: #babdc3;
@dark_bg: #1a1a1a;
@fail_bg: #EAEEF2;
@green_bg:#14CC9B;
@blue_bg:#2D99FF;
@gray58:#585858;
/*渐变*/
@linear_gradient: {
  background: linear-gradient(91deg, rgba(252, 79, 103, 1) 0%, rgba(255, 98, 39, 1) 100%);
};

/*阴影*/
@shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
@hoverShadow: 0px 2px 8px rgba(0, 0, 0, 0.2);

//边框
@border: 1px solid rgba(0, 0, 0, 0.12);
/*行间距*/
@line_height: 1.5;

@topMenuHeight: 60px;
@navHeaderHeight: 56px;

.title {
  margin-bottom: 16px;
  color: @heading-color;
  font-weight: 500;
  font-size: 16px;
}
